package cate.common.table.activity.dailygift;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass(value = "特殊概率")
public class DailyGiftSpecialRow extends ERow {
    @NoteField(value = "活动配置ID")
    public int confId;
    @NoteField(value = "英雄碎片ID")
    public int fragmentId;
    @NoteField(value = "概率")
    public String rateStr;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("ID");
        this.confId=xrw.getInteger("活动配置ID");
        this.fragmentId = xrw.getInteger("英雄碎片ID");
        this.rateStr = xrw.getString("概率","");
    }
}
